package com.neu.chenzhiping.Dao;

import com.neu.commons.Dao.BaseDao;
import com.neu.commons.Utils.GenerateSqlDao;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public class mgrloginImpl {

    public   List<Map<String,Object>> findByPwdAndNo(String no,String pwd){
        List<Map<String,Object>>list=new ArrayList<>();
        String sql="select * from t_mgr_info"
                +" where mgr_no=? and mgr_pwd=?";
        BaseDao d=new BaseDao();
        list=d.BaseDaoQuery(sql,no,pwd);
        System.out.println(list);
     return list;

    }
}
